package com.accenture.automation.biz.api.enums;

public enum EnumWebServiceOutputStatus {
	WEB_SERVICE_OUTPUT_SUCCESS(200,"执行成功",1,false),
	WEB_SERVICE_OUTPUT_REQUEST_ERROR(500,"请求有误",0,true),
	WEB_SERVICE_OUTPUT_SYSTEM_ERROR(9999,"系统异常",0,true),
	WEB_SERVICE_OUTPUT_FORMAT_ERROR(9990,"格式错误",0,true),
	WEB_SERVICE_OUTPUT_DATA_NULL(8888,"数据为空",0,true);
	
	private Integer apiCode;
	private String message;
	private Integer result;
	private boolean hasError;
	
	private EnumWebServiceOutputStatus(Integer apiCode,String message,Integer result,boolean hasError){
		this.apiCode=apiCode;
		this.message=message;
		this.result=result;
		this.hasError=hasError;
	}

	public Integer getApiCode() {
		return apiCode;
	}



	public String getMessage() {
		return message;
	}



	public Integer getResult() {
		return result;
	}

	public boolean isHasError() {
		return hasError;
	}



	
	
}
